package com.ruoyi.crm.sale.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 线索管理对象 crm_clue
 * 
 * @author ruoyi
 * @date 2021-09-02
 */
public class CrmClue extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 线索名称 */
    @Excel(name = "线索名称")
    private String clueName;

    /** 线索来源 */
    @Excel(name = "线索来源")
    private String clueSource;

    /** 行业 */
    @Excel(name = "行业")
    private String trade;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 联系人名称 */
    @Excel(name = "联系人")
    private String clueContacts;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String mail;

    /** 电话 */
    @Excel(name = "电话")
    private String tel;

    /** 线索级别 */
    @Excel(name = "线索级别")
    private String clueLevel;

    /** 负责人 */
    @Excel(name = "负责人")
    private Long clueLeader;

    /** 下次联系时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "下次联系时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date nextTime;

    /** 最后跟进时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "最后跟进时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lastTime;

    /** 最后跟进记录 */
    @Excel(name = "最后跟进记录")
    private String lastCon;

    /** 附件 */
    private String annex;
    
    /** 创建者名称 */
    private String createByName;
    
    /** 更信任名称 */
    private String updateByName;

    /** 负责人名称 */
    @Excel(name = "负责人名称")
    private String clueLeaderName;
    
    /** 是否已转客户 */
    private int isCustomer;
    
    
    public int getIsCustomer() {
		return isCustomer;
	}

	public void setIsCustomer(int isCustomer) {
		this.isCustomer = isCustomer;
	}

	public String getClueContacts() {
		return clueContacts;
	}

	public void setClueContacts(String clueContacts) {
		this.clueContacts = clueContacts;
	}

	public String getUpdateByName() {
		return updateByName;
	}

	public void setUpdateByName(String updateByName) {
		this.updateByName = updateByName;
	}

	public String getCreateByName() {
		return createByName;
	}

	public void setCreateByName(String createByName) {
		this.createByName = createByName;
	}

	public String getClueLeaderName() {
		return clueLeaderName;
	}

	public void setClueLeaderName(String clueLeaderName) {
		this.clueLeaderName = clueLeaderName;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setClueName(String clueName) 
    {
        this.clueName = clueName;
    }

    public String getClueName() 
    {
        return clueName;
    }
    public void setClueSource(String clueSource) 
    {
        this.clueSource = clueSource;
    }

    public String getClueSource() 
    {
        return clueSource;
    }
    public void setTrade(String trade) 
    {
        this.trade = trade;
    }

    public String getTrade() 
    {
        return trade;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setMail(String mail) 
    {
        this.mail = mail;
    }

    public String getMail() 
    {
        return mail;
    }
    public void setTel(String tel) 
    {
        this.tel = tel;
    }

    public String getTel() 
    {
        return tel;
    }
    public void setClueLevel(String clueLevel) 
    {
        this.clueLevel = clueLevel;
    }

    public String getClueLevel() 
    {
        return clueLevel;
    }
    public void setClueLeader(Long clueLeader) 
    {
        this.clueLeader = clueLeader;
    }

    public Long getClueLeader() 
    {
        return clueLeader;
    }
    public void setNextTime(Date nextTime) 
    {
        this.nextTime = nextTime;
    }

    public Date getNextTime() 
    {
        return nextTime;
    }
    public void setLastTime(Date lastTime) 
    {
        this.lastTime = lastTime;
    }

    public Date getLastTime() 
    {
        return lastTime;
    }
    public void setLastCon(String lastCon) 
    {
        this.lastCon = lastCon;
    }

    public String getLastCon() 
    {
        return lastCon;
    }
    public void setAnnex(String annex) 
    {
        this.annex = annex;
    }

    public String getAnnex() 
    {
        return annex;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("clueName", getClueName())
            .append("clueSource", getClueSource())
            .append("trade", getTrade())
            .append("address", getAddress())
            .append("mail", getMail())
            .append("tel", getTel())
            .append("clueLevel", getClueLevel())
            .append("clueLeader", getClueLeader())
            .append("nextTime", getNextTime())
            .append("lastTime", getLastTime())
            .append("lastCon", getLastCon())
            .append("annex", getAnnex())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
